using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.DXErrorProvider;
using DevExpress.XtraEditors.Mask;
//using System.Text.RegularExpressions;
using System.Globalization;
using ProgramMain.Framework;

namespace ProgramMain.Equipments
{
    public partial class PhonePrefixDetailCtl : BaseModalDetailCtl
    {
        public PhonePrefixDetailCtl()
        {
            InitializeComponent();
        }

        protected override void BindDataControls()
        {
            this.txtEditPrefix.DataBindings.Add(new Binding("Text", this.dataSource, "Prefix"));
            this.textEditReplacament.DataBindings.Add(new Binding("Text", this.dataSource, "Replacement"));
            this.memoEditDesc.DataBindings.Add(new Binding("Text", this.dataSource, "Description"));
        }
    }
}
